package com.itheima.service;

import com.itheima.entity.PageResult;
import com.itheima.entity.QueryPageBean;
import com.itheima.pojo.Food;

import java.util.Date;
import java.util.List;

public interface FoodService {

    void add(List<Food> foodList);
    public PageResult pageQuery(QueryPageBean queryPageBean);

    List<Food> finAll();

    List<String> findFoodByOrderDate(Date date);

    void edit(Food food);

    Food findById(Integer id);

    void addFood(Food food);

    void deleteById(Integer foodId);
}
